<template>
    <div>
        <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="产品分区域" name="tab1">
                <tab1 ref="tab1"></tab1>
            </el-tab-pane>
            <el-tab-pane label="产品分行业" name="tab2">
                <tab2 ref="tab2"></tab2>
            </el-tab-pane>
        </el-tabs>
    </div>
</template>

<script>

export default {
  name: "cloudStandard",
  components: {
    tab1: () => import('./tab1.vue'),
    tab2: () => import('./tab2.vue')
  },
  data() {
    return {
      activeName: "tab1"
    };
  },
  methods: {
    handleClick() {
      this.$refs[this.activeName].init();
    }
  }
};
</script>

<style lang="scss"></style>
